﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Customer
    {
        public Customer()
        { }
        #region Model
        private int _id;
        private DateTime _startime;
        private DateTime _endtime;
        private string _code;
        private decimal _cost;
        private string _name;
        private string _sex;
        private string _phone;
        private string _tel;
        private string _addr;
        private string _comname;
        private string _codecar;
        private string _bondsman;
        private string _bondsex;
        private string _bondtel;
        private string _bondaddr;
        private string _bondcomname;
        private string _bondcar;
        private string _relation;
        private string _company;
        private string _compaddr;
        private string _legalper;
        private string _comcode;
        private string _capital;
        private string _orgcode;
        private decimal _paidin;
        private decimal _owing;
        private string _path;
        private bool _isstate;
        private int _custype;
        private string _marks;
        private DateTime _inputime;
        private int _inputuserid;
        private string _driver;
        private string _drisex;
        private string _dricode;
        private string _dritel;
        private string _driaddr;
        private string _dricard;
        private DateTime _cardtime;
        private DateTime _ondri;
        private string _jioncard;
        private string _cartype;
        private DateTime _caretime;
        private DateTime _getcar;
        private string _comaddr;
        private string _cuscartype;
        private DateTime _custcar;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }

        public int UserID { get; set; }

        public string LoginUserName { get; set; }

        /// <summary>
        /// 起始日期
        /// </summary>
        public DateTime StarTime
        {
            set { _startime = value; }
            get { return _startime; }
        }
        /// <summary>
        /// 终止日期
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string Code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 应收会费
        /// </summary>
        public decimal Cost
        {
            set { _cost = value; }
            get { return _cost; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 移动电话
        /// </summary>
        public string Tel
        {
            set { _tel = value; }
            get { return _tel; }
        }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string Addr
        {
            set { _addr = value; }
            get { return _addr; }
        }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string ComName
        {
            set { _comname = value; }
            get { return _comname; }
        }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string CodeCar
        {
            set { _codecar = value; }
            get { return _codecar; }
        }
        /// <summary>
        /// 担保人
        /// </summary>
        public string BondsMan
        {
            set { _bondsman = value; }
            get { return _bondsman; }
        }
        /// <summary>
        /// 担保人性别
        /// </summary>
        public string BondSex
        {
            set { _bondsex = value; }
            get { return _bondsex; }
        }
        /// <summary>
        /// 担保人电话
        /// </summary>
        public string BondTel
        {
            set { _bondtel = value; }
            get { return _bondtel; }
        }
        /// <summary>
        /// 担保人家庭住址
        /// </summary>
        public string BondAddr
        {
            set { _bondaddr = value; }
            get { return _bondaddr; }
        }
        /// <summary>
        /// 担保人单位名称
        /// </summary>
        public string BondComName
        {
            set { _bondcomname = value; }
            get { return _bondcomname; }
        }
        /// <summary>
        /// 担保人身份证号
        /// </summary>
        public string BondCar
        {
            set { _bondcar = value; }
            get { return _bondcar; }
        }
        /// <summary>
        /// 与客户关系
        /// </summary>
        public string Relation
        {
            set { _relation = value; }
            get { return _relation; }
        }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string Company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        /// 企业地址
        /// </summary>
        public string CompAddr
        {
            set { _compaddr = value; }
            get { return _compaddr; }
        }
        /// <summary>
        /// 法人
        /// </summary>
        public string LegalPer
        {
            set { _legalper = value; }
            get { return _legalper; }
        }
        /// <summary>
        /// 企业注册号
        /// </summary>
        public string ComCode
        {
            set { _comcode = value; }
            get { return _comcode; }
        }
        /// <summary>
        /// 注册资本
        /// </summary>
        public string Capital
        {
            set { _capital = value; }
            get { return _capital; }
        }
        /// <summary>
        /// 组织机构代码
        /// </summary>
        public string OrgCode
        {
            set { _orgcode = value; }
            get { return _orgcode; }
        }
        /// <summary>
        /// 实收会费
        /// </summary>
        public decimal PaidIn
        {
            set { _paidin = value; }
            get { return _paidin; }
        }
        /// <summary>
        /// 欠会费
        /// </summary>
        public decimal Owing
        {
            set { _owing = value; }
            get { return _owing; }
        }
        /// <summary>
        /// 照片
        /// </summary>
        public string Path
        {
            set { _path = value; }
            get { return _path; }
        }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsState
        {
            set { _isstate = value; }
            get { return _isstate; }
        }
        /// <summary>
        /// 客户类型  1个人  2：企业
        /// </summary>
        public int Custype
        {
            set { _custype = value; }
            get { return _custype; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Marks
        {
            set { _marks = value; }
            get { return _marks; }
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime InpuTime
        {
            set { _inputime = value; }
            get { return _inputime; }
        }
        /// <summary>
        /// 录入员
        /// </summary>
        public int InputUserId
        {
            set { _inputuserid = value; }
            get { return _inputuserid; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public string Driver
        {
            set { _driver = value; }
            get { return _driver; }
        }
        /// <summary>
        /// 驾驶员性别
        /// </summary>
        public string DriSex
        {
            set { _drisex = value; }
            get { return _drisex; }
        }
        /// <summary>
        /// 驾驶员身份证号
        /// </summary>
        public string DriCode
        {
            set { _dricode = value; }
            get { return _dricode; }
        }
        /// <summary>
        /// 驾驶员电话
        /// </summary>
        public string DriTel
        {
            set { _dritel = value; }
            get { return _dritel; }
        }
        /// <summary>
        /// 驾驶员家庭住址
        /// </summary>
        public string DriAddr
        {
            set { _driaddr = value; }
            get { return _driaddr; }
        }
        /// <summary>
        /// 驾驶证号
        /// </summary>
        public string DriCard
        {
            set { _dricard = value; }
            get { return _dricard; }
        }
        /// <summary>
        /// 驾驶员初次领证时间
        /// </summary>
        public DateTime CardTime
        {
            set { _cardtime = value; }
            get { return _cardtime; }
        }
        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime OnDri
        {
            set { _ondri = value; }
            get { return _ondri; }
        }
        /// <summary>
        /// 从业资格证号
        /// </summary>
        public string JionCard
        {
            set { _jioncard = value; }
            get { return _jioncard; }
        }
        /// <summary>
        /// 准驾车型
        /// </summary>
        public string CarType
        {
            set { _cartype = value; }
            get { return _cartype; }
        }
        /// <summary>
        /// 驾驶员年审时间
        /// </summary>
        public DateTime CareTime
        {
            set { _caretime = value; }
            get { return _caretime; }
        }
        /// <summary>
        /// 驾驶员发证时间
        /// </summary>
        public DateTime GetCar
        {
            set { _getcar = value; }
            get { return _getcar; }
        }
        /// <summary>
        /// 客户单位地址
        /// </summary>
        public string ComAddr
        {
            set { _comaddr = value; }
            get { return _comaddr; }
        }
        /// <summary>
        /// 客户准驾车型
        /// </summary>
        public string CusCartype
        {
            set { _cuscartype = value; }
            get { return _cuscartype; }
        }
        /// <summary>
        /// 客户初次领证时间
        /// </summary>
        public DateTime CustCar
        {
            set { _custcar = value; }
            get { return _custcar; }
        }

        /// <summary>
        /// 用户图片
        /// </summary>
        public byte[] pictureUser { get; set; }

        /// <summary>
        /// 身份证扫描件
        /// </summary>
        public byte[] pictureID { get; set; }

        /// <summary>
        /// 驾驶证扫描件
        /// </summary>
        public byte[] pictureDriveLicense { get; set; }


        /// <summary>
        /// 户口本扫描件
        /// </summary>
        public byte[] pictureAccount { get; set; }

        /// <summary>
        /// 信用卡扫描件
        /// </summary>
        /// 
        public byte[] pictureCreditCard { get; set; }

        /// <summary>
        /// 营业执照
        /// </summary>
        public byte[] pictureBusinessLicense { get; set; }

        /// <summary>
        /// 税务证
        /// </summary>
        /// 
        public byte[] pictureTax { get; set; }

        public long Points { get; set; }

        #endregion Model

    }
}
